package o;

import com.huawei.gamebox.plugin.gameservice.db.tables.GameSignRecord;
import java.util.List;

public class ezi {
    private static ezi ˎ = null;
    private cfu ॱ = euc.ˊ().ʽ("GameSignRecord");

    private ezi() {
    }

    public static synchronized ezi ˏ() {
        ezi o_ezi;
        synchronized (ezi.class) {
            if (ˎ == null) {
                ˎ = new ezi();
            }
            o_ezi = ˎ;
        }
        return o_ezi;
    }

    public void ॱ(GameSignRecord gameSignRecord) {
        if (ˊ(gameSignRecord) <= 0) {
            this.ॱ.ˎ(gameSignRecord);
        }
    }

    public int ˊ(GameSignRecord gameSignRecord) {
        return this.ॱ.ॱ(gameSignRecord, "packageName_=? and appId_=?", new String[]{gameSignRecord.ˎ(), gameSignRecord.ˋ()});
    }

    public List<GameSignRecord> ˏ(String str, String str2) {
        return this.ॱ.ˋ(GameSignRecord.class, "packageName_=? and appId_=?", new String[]{str, str2}, null, "packageName_ desc");
    }
}
